You can merge pull requests by retaining all the commits in a feature branch, squashing all commits into a single commit, or by rebasing individual commits.
With --no-squash perform the merge and commit the result. This option can be used to override --squash. With --squash, --commit is not allowed, and will fail. Git-mergetool[1] · Merge-base · 2.15.4 12/06/19 · 2.13.7 05/22/18
You can change this behaviour by using --no-ff . GitHub also ... no command for squash merging in Git! In fact, in order to do the same ... Intro · The first misconception: what a... · The second misconception...